package com.zhuss.bean.vo.order.order;

import java.io.Serializable;
import java.util.Date;

import com.zhuss.common.BaseBo;
import com.zhuss.common.IdBo;


public class WxPayVo extends IdBo  implements Serializable, BaseBo {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2979912835014289272L;
	
	private String appId;
	
	private String mchId;
	
	private String key;
	
	private String tradeType;
	
	private String nonceStr;

	private String orderNo;
	
	private String body;
	
	private String wxPackage;
	
	private String sign;
	
	private String returnMsg;
	
	private String resultCode;
	
	private String returnCode;
	
	private String prepayId;
	
	private Date time;
	
	public String getWxPackage() {
		return wxPackage;
	}

	public void setWxPackage(String wxPackage) {
		this.wxPackage = wxPackage;
	}

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	public String getReturnMsg() {
		return returnMsg;
	}

	public void setReturnMsg(String returnMsg) {
		this.returnMsg = returnMsg;
	}

	public String getResultCode() {
		return resultCode;
	}

	public void setResultCode(String resultCode) {
		this.resultCode = resultCode;
	}

	public String getReturnCode() {
		return returnCode;
	}

	public void setReturnCode(String returnCode) {
		this.returnCode = returnCode;
	}

	public String getPrepayId() {
		return prepayId;
	}

	public void setPrepayId(String prepayId) {
		this.prepayId = prepayId;
	}

	public WxPayVo buildAppId(String appId) {
		this.appId = appId;
		return this;
	}
	
	public WxPayVo buildMchId(String mchId) {
		this.mchId = mchId;
		return this;
	}
	
	public WxPayVo buildKey(String key) {
		this.key = key;
		return this;
	}
	
	public WxPayVo buildTradeType(String tradeType) {
		this.tradeType = tradeType;
		return this;
	}
	
	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getMchId() {
		return mchId;
	}

	public void setMchId(String mchId) {
		this.mchId = mchId;
	}
	
	public String getKey() {
		return key;
	}
	
	public void setKey(String key) {
		this.key = key;
	}

	public String getTradeType() {
		return tradeType;
	}

	public void setTradeType(String tradeType) {
		this.tradeType = tradeType;
	}

	public String getNonceStr() {
		return nonceStr;
	}

	public void setNonceStr(String nonceStr) {
		this.nonceStr = nonceStr;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}
	
	public Long getTime() {
		return time.getTime() / 1000;
	}
	
	public void setTime(Date time) {
		this.time = time;
	}

}